{% extends 'layout.html' %}
{% block main %}
<div class="panel panel-danger">
    <div class="panel-heading">
        <h3 class="panel-title">错误提示</h3>
    </div>
    <div class="panel-body">{{message}}</div>
    {% if code != '' %}
    <div class="panel-body">{{code|json}}</div>
    {% endif %}
    <div class="panel-footer">
        <a href="javascript:window.history.back();">返回上一步</a>
    </div>
</div>
{% endblock %}